Improve handling of processes on remote hosts.
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Nov 2009 10:25:54 +0000 (10:25 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 24 Nov 2009 10:25:54 +0000 (10:25 +0000)
commitf93349ce2453231b2d21d170c29a43e26cd2bb68
treecdf5ac27a11cd1c9571f2f5492f15ec15422466c
parentce3e06d536bf948116adb90cdec479f385c9c860
Improve handling of processes on remote hosts.

* eshell/esh-util.el (eshell-path-env): New defvar.
(eshell-parse-colon-path): New defun.
(eshell-file-attributes): Use `eshell-parse-colon-path'.

* eshell/esh-ext.el (eshell-search-path): Use
`eshell-parse-colon-path'.
(eshell-remote-command): Remove argument HANDLER.
(eshell-external-command): Check for FTP remote connection.

* eshell/esh-proc.el (eshell-gather-process-output): Use
`file-truename', in order to start also symlinked files. Apply
`start-file-process' instead of `start-process'. Shorten `command'
to the local file name part.

* eshell/em-cmpl.el (eshell-complete-commands-list): Use
`eshell-parse-colon-path'.

* eshell/em-unix.el (eshell/du): Check for FTP remote connection.

* net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
to `eshell-directory-change-hook'.
lisp/ChangeLog
lisp/eshell/em-cmpl.el
lisp/eshell/em-unix.el
lisp/eshell/esh-ext.el
lisp/eshell/esh-proc.el
lisp/eshell/esh-util.el
lisp/net/tramp.el